from fastapi import APIRouter, Request, Depends

from core.models import User
from core.users import current_active_user

app01 = APIRouter()


@app01.post("/stu")
async def create_stu(request: Request, user: User = Depends(current_active_user)):

    return {}

@app01.post("/stu/{id}")
async def show_stu(id: int, request: Request):

    return {"id": id}
